package com.easy.model;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @author zhuhaibo
 * @version 1.0
 * @date 2021/4/27 10:00
 */
@Data
public class OpportunityTeam {

    @ExcelProperty("商机主键")
    private Long opportunityId;

    @ExcelProperty("新系统责任人id")
    private Long enterpriseUserId;

    @ExcelProperty("权限")
    private String authority;

    @ExcelProperty("业绩比例")
    private Integer performance;

    @ExcelProperty("团队角色")
    private String role;

    /**
     * 默认-2
     */
    @ExcelProperty("外部id")
    private String outId;

    /**
     * 默认：PROJECT
     */
    @ExcelProperty("商机分类")
    private String classification;

    /**
     * 默认刷成-1，系统账号
     */
    @ExcelProperty("创建员工Id")
    private Long createdEnterpriseId;

    /**
     * 默认刷成-1，系统账号
     */
    @ExcelProperty("修改员工Id")
    private Long updatedEnterpriseId;

    /**
     * new Date()
     */
    @ExcelProperty("创建时间")
    protected String createdAt;

    /**
     * new Date()
     */
    @ExcelProperty("更新时间")
    protected String updatedAt;

    /**
     * 默认0
     */
    @ExcelProperty("是否删除")
    protected String isDeleted;

    /**
     * id自增
     */
    @ExcelProperty("商机团队主键")
    protected Long id;

    public static final String DEFAULT_OUT_ID = "-2";
    public static final String DEFAULT_CLASSIFICATION = "PROJECT";
    public static final String DEFAULT_DELETE = "0";
    public static final Long DEFAULT_SYSTEM_ID = -1L;

    public static final String opportunityId_field = "opportunityId";
    public static final String enterpriseUserId_field = "enterpriseUserId";
    public static final String authority_field = "authority";
    public static final String role_field = "role";
    public static final String performance_field = "performance";

    public static final String outId_field = "outId";
    public static final String classification_field = "classification";
    public static final String createdEnterpriseId_field = "createdEnterpriseId";
    public static final String updatedEnterpriseId_field = "updatedEnterpriseId";
    public static final String createdAt_field = "createdAt";
    public static final String updatedAt_field = "updatedAt";
    public static final String isDeleted_field = "isDeleted";

}
